{% extends 'adminbase.html' %}
{% block content_admin %}

	Create a Page
  <form action="/admin/admin_createpage" method="post">
    <table>
    {{form.as_table}}
    </table>
    <input type="submit" value="submit">
  </form>
  
  <script type="text/javascript">
  	$('#id_content').wysiwyg({
	    controls: {
	        strikeThrough: { visible: true },
	        underline: { visible: true },
	        subscript: { visible: true },
	        superscript: { visible: true }
	    }
	});
	$(".wysiwyg > iframe").css("width","500px");;
	$('.wysiwyg').css("width","500px");
	$('.wysiwyg').addClass('richtext_panel');
  </script>
{% endblock %}
